package pe.com.itworth.ttsclient.controller;

import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.TabHost;

public class ConfigurationTabPanelController extends TabActivity {

	public void onCreate(Bundle b) {

		super.onCreate(b);
		setContentView(R.layout.configurationmenutabpanel);

		Resources res = getResources();
		TabHost tabHost = getTabHost();
		TabHost.TabSpec spec;
		Intent intent;

		intent = new Intent().setClass(this, ConfigurationMenuController.class);
		spec = tabHost
				.newTabSpec("configuration")
				.setIndicator("Configuration",
						res.getDrawable(R.drawable.icono_incognita))
				.setContent(intent);
		tabHost.addTab(spec);

		tabHost.setCurrentTab(0);
	}

}
